package com.chunlei.check.service;

import com.chunlei.check.bean.User;
import com.chunlei.check.dao.UserDao;
import com.chunlei.check.interceptor.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2021/4/30 21:45
 */
@Service
public class UserService
{
    @Autowired
    private UserDao userDao;

    public List<User> queryAll(String id, Page page)
    {
        return userDao.queryUserList(id, page);
    }
}
